window.Vue = require('vue')

import App from './app.vue'
import store from './store'
import i18n from './lang'
import {router} from './router'
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
import moment from 'moment'
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/index.css'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import 'viewerjs/dist/viewer.css'
import VueSignaturePad from 'vue-signature-pad'
import getLines from './api/getLines'
import Vue from 'vue'


Vue.prototype.$moment = moment
moment.locale('zh-cn')

Vue.use(getLines)
Vue.use(ViewUI)
Vue.use(VXETable)
Vue.use(Antd)
Vue.use(VueSignaturePad)

Vue.prototype.$Message.config({
  duration: 5,
})

const app = new Vue({
  el: '#app',
  i18n,
  store,
  router,
  render: h => h(App)
})
